<template>
    <div class="professionInfoTable">
        <el-table
                :data="tableData"
                stripe
                border
                style="width: 100%"
                @selection-change="handleSelectionChange">
            <el-table-column
                    type="selection"
                    width="55">
            </el-table-column>
            <el-table-column
                    prop="professionId"
                    label="专业代码"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="professionName"
                    label="专业名称"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="professionAbbr"
                    label="专业简称"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="subjectClass"
                    label="学科门类"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="director"
                    label="教研室主任"
                    width="180">
            </el-table-column>
            <el-table-column
                    prop="subjectPrincipal"
                    label="学科负责人"
                    width="180">
            </el-table-column>
            <el-table-column
                    label="操作">
            </el-table-column>
        </el-table>
    </div>
</template>
<style>
</style>
<script>

    export default{
        name : 'professionInfoTable',
        data(){
            return{
                tableData :[
                    {
                        professionId : '132',
                        professionName : '软件工程',
                        professionAbbr : '软工',
                        subjectClass : '计算机',
                        director : '不知道',
                        subjectPrincipal : '不知道'
                    }
                ]
            }
        },
        components:{

        },
        methods: {
          handleSelectionChange(val) {
            this.multipleSelection = val;
          }
        }
    }
</script>
